Skip to main content

Open Browser

AutomatR.Web.OpenBrowser

The "Open Browser" activity in AutomatR is designed to open a browser at a specified URL and allows the execution of multiple activities within the opened browser. This activity provides essential options for configuring the browser instance, such as specifying the URL, browser type, instance management, and additional settings.

Properties

NameDescription
Input
InstanceSpecifies the behavior for handling browser instances. Choose from options such as 'New,' 'Attach to Existing,' or 'Attach or Create.'
URLURL of the webpage to be opened in the new browser window. This is a required field when creating a new browser instance.
TitleTitle of the browser window to attach to when the instance is set to 'Attach to Existing.'
IncognitoOpens a private/incognito session if set to true.
ClearCacheClears the browser cache if set to true.
MaximiseMaximizes the browser window if set to true.
BrowserTypeType of the browser to be opened, such as Chrome, Firefox, Edge, or Internet Explorer.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. String variables containing the desired display name.
Optional
Capture Console LogsEnables the capture of console logs during browser activity.
LogCaptureEnables or disables log capturing.
DelaySpecifies the wait time (in seconds) before starting the activity.
Output
BrowserOutputs the browser object variable that can be used in other activities, such as 'Close Browser.'

How to use:

  1. Drag and drop the "Open Browser" activity onto the workflow.
  2. Configure the properties by specifying the instance type, URL, title (if attaching to an existing browser), and other optional settings.
  3. Optionally, configure log capturing and browser type.
  4. Execute the workflow to open the specified browser with the defined configurations.

Example:

Consider an example where the "Open Browser" activity is used to open a new Chrome browser instance and navigate to a specific URL:

Open Browser:
Instance: New
URL: "https://www.example.com"
BrowserType: Chrome
Incognito: false
ClearCache: false
Maximise: true
Delay: 3
Browser: browserObject
Capture Console Logs: true

In this example, the activity opens a new Chrome browser window, navigates to "https://www.example.com," maximizes the window, and captures console logs. The resulting browser object is stored in the variable "browserObject" for further use in the workflow.